﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyDuAn.DTO
{
    class Admin
    {
        public String userName;
        public String password;
        public int permission;
        public Admin()
        {
        }
        public Admin(String username, String pass, int per)
        {
            this.userName = username;
            this.password = pass;
            this.permission = per;
        }
        public String GetUserName()
        {
            return userName;
        }
        public String GetPassword()
        {
            return password;
        }
        public int GetPermission()
        {
            return permission;
        }
        public void SetUserName(String username)
        {
            this.userName = username;
        }
        public void SetPassword(String pass)
        {
            this.password = pass;
        }
        public void SetPermission(int per)
        {
            this.permission = per;
        }
    }
}
